package com.nju.bean.string;

import java.io.*;
import java.util.*;

public class Configration {
	
	private static Properties ini = null;  
    static File file=new File("res/config/config.ini");
    static {  
        try {  
            ini = new Properties ();
            ini.load (new FileInputStream (file));  
        }catch (Exception ex) {  
            ex.printStackTrace();
        }  
    }
    public static String getIniKey (String key) {  
        if(!ini.containsKey (key)) {  
            return "";  
        }  
        return ini.get(key).toString ();  
    }  
}